/**
 * @author zack
 * @create 2019-08-02-17:09
 */
public class Test4_8_3 {
    public static void main(String[] args) {
        for (int i = 0; i <= 100; i++) {
            if (i== 74) break;
            if(i%9==0)continue;
            System.out.println(i);

        }
    }
}
